package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Advertisingtype;
import org.hxyjs.entity.Advertisingtype;
import org.hxyjs.entity.AdvertisingtypeExample;

public interface AdvertisingtypeMapper {
    long countByExample(AdvertisingtypeExample example);

    int deleteByExample(AdvertisingtypeExample example);

    int deleteByPrimaryKey(String advrno);

    int insert(Advertisingtype record);

    int insertSelective(Advertisingtype record);

    List<Advertisingtype> getAdvertisingtypeByPage(Map map);

    String getMaxAdvrno();

    List<Advertisingtype> selectByExample(AdvertisingtypeExample example);

    Advertisingtype selectByPrimaryKey(String advrno);

    int updateByExampleSelective(@Param("record") Advertisingtype record, @Param("example") AdvertisingtypeExample example);

    int updateByExample(@Param("record") Advertisingtype record, @Param("example") AdvertisingtypeExample example);

    int updateByPrimaryKeySelective(Advertisingtype record);

    int updateByPrimaryKey(Advertisingtype record);
}